package com.xdh.springcloud.gateway;

import com.xdh.springcloud.security.jwt.AbstractWebSecurityConfig;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

@Configuration
@EnableWebSecurity
public class WebSecurityConfig extends AbstractWebSecurityConfig {

    @Override
    protected void addExtPermitAllEndpointList() {
        super.addPermitAllEndpointList("/security/auth/login");
    }
}
